From 43799e9a0e4fa967cc9af13161d7d998e0c4dba6 Mon Sep 17 00:00:00 2001 From: robertl Date: Sun, 2 Jul 2006 01:27:04 +0000 Subject: [PATCH] Include protos for windows esrial builds. Tweak windows build target. --- Makefile.in | 3 ++- jeeps/gpsserial.c | 1 + magproto.c | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.in b/Makefile.in index 2269f93e8..0792e9d9c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -192,8 +192,9 @@ release-winbuild: rm -fr /tmp/gpsbabel-$(VERSIOND)-cross cp -a gpsbabel-$(VERSIOND) /tmp/gpsbabel-$(VERSIOND)-cross cd /tmp/gpsbabel-$(VERSIOND)-cross ; \ - CC=i386-mingw32-gcc LDFLAGS="-s" ./configure --target=i386-pc-mingw32 --with-cet=all --with-expathdr=mingw/include --with-libexpat=mingw/lib && make + CC=i386-mingw32-gcc LDFLAGS="-s" ./configure --target=i386-pc-mingw32 --with-cet=all --with-expathdr=mingw/include --with-libexpat=mingw/lib && make && \ zip -j /tmp/gpsbabel-$(VERSIOND).zip $(WINFILES) + rm -fr /tmp/gpsbabel-$(VERSIOND)-cross release-upload: @(. tools/functions && ask "Type yes if you want to do the upload now" "yes" ) diff --git a/jeeps/gpsserial.c b/jeeps/gpsserial.c index 53dc1e62c..f714cb997 100644 --- a/jeeps/gpsserial.c +++ b/jeeps/gpsserial.c @@ -25,6 +25,7 @@ ********************************************************************/ #include "gps.h" #include "gpsserial.h" +#include "../gbser.h" #include #include #include diff --git a/magproto.c b/magproto.c index 1be3c9196..7da943531 100644 --- a/magproto.c +++ b/magproto.c @@ -24,6 +24,7 @@ #include "defs.h" #include "magellan.h" +#include "gbser.h" static int bitrate = 4800; static int wptcmtcnt; -- 2.30.2